package com.gpj.netty.demo.chat;

import io.netty.channel.ChannelHandlerContext;
import io.netty.channel.SimpleChannelInboundHandler;
import lombok.extern.slf4j.Slf4j;

/**
 * @className ChatClientHandler
 * @description TODO
 * @author GPJ
 * @date 2021/3/3 15:07
 * @version 1.0
 **/
@Slf4j
public class ChatClientHandler extends SimpleChannelInboundHandler<String> {
	@Override
	protected void channelRead0(ChannelHandlerContext channelHandlerContext, String msg) throws Exception {
		log.info(msg);
	}
}
